package com.atguigu.day03.test;

import java.util.Scanner;

public class IfElseTest3 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请您输入成绩(0-100):");
        int grade = sc.nextInt();
        if(grade == 100){
            System.out.println("奖励你一个小汽车");
        }else if ( grade < 100 && grade >80 ){
            System.out.println("奖励你一辆山地自行车");
        }else if ( grade <= 80 && grade >= 60){
            System.out.println("奖励环球影城一日游");
        }else{
            System.out.println("奖励双人自由搏击一天");
        }
        sc.close();
    }
}
